package com.ssm.kafka.domain;

public class Order {

    private Integer orderId;

    private Integer skuId;

    private Integer productId;

    private Integer quantity = 1;

    private Double price;

    public Order(Integer orderId, Integer skuId, Integer productId, Double price) {
        this.orderId = orderId;
        this.skuId = skuId;
        this.productId = productId;
        this.price = price;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
